package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the per_kno_wds database table.
 * 
 */
@Entity
@Table(name="per_kno_wds")
@NamedQuery(name="PerKnoWds.findAll", query="SELECT p FROM PerKnoWds p")
public class PerKnoWds implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int wdsid;

	//bi-directional many-to-one association to PerKnoDyn
	@ManyToOne
	@JoinColumn(name="DYNID")
	private PerKnoDyn perKnoDyn;

	//bi-directional many-to-one association to PerKnoWle
	@ManyToOne
	@JoinColumn(name="WLEID")
	private PerKnoWle perKnoWle;

	public PerKnoWds() {
	}

	public int getWdsid() {
		return this.wdsid;
	}

	public void setWdsid(int wdsid) {
		this.wdsid = wdsid;
	}

	public PerKnoDyn getPerKnoDyn() {
		return this.perKnoDyn;
	}

	public void setPerKnoDyn(PerKnoDyn perKnoDyn) {
		this.perKnoDyn = perKnoDyn;
	}

	public PerKnoWle getPerKnoWle() {
		return this.perKnoWle;
	}

	public void setPerKnoWle(PerKnoWle perKnoWle) {
		this.perKnoWle = perKnoWle;
	}

}